import java.util.Scanner;
public class Average 
{
      public static void main (String[]args)
      {
          int first;
          int second;
          int third;
          double equally;
         
          Scanner scan = new Scanner (System.in);
          System.out.print (" Enter the first number:");
          first = scan.nextInt();
          System.out.print ("Enter the second number:");
          second = scan.nextInt();
          System.out.print ("Enter the third number:");
          third = scan.nextInt(); 
          equally = ( first + second + third ) / 3;
          
          System.out.print ("average:" + equally);
      }
}
 
           
